package service;

import pojo.*;

import java.util.List;

/**
 * @author tao
 * @date 2021/11/10
 */
public interface StudentService {

    //学生注册
    int addStudent(Student student);
    //查询学生id
    Student selectStudent(int id);
    //查询密码
    Student studentPassword(int id);

    List<Clazz> myClazz(int id);

    int outClazz(int id,int sid);

    List<Work> myWork(int id);

    int addClazz(int id,int sid);

    Work selectWorkBook(int id);

    MyWork selectStudentWorkBook(int id,int sid);

    int submitJob(MyWork myWork);

    MyWork selectWork(int wid);

}
